package com.ygxsk.carhome.enumwrap;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-08-11  09:53
 * @Description:客户状态对应  维保管理-车辆维保模块 添加【全部状态】
 */
public enum RepairStateType {

    //        0, "待处理"
//        1, "已分配"
//        2, "已接单"
//        3, "已确认"
//        4, "已完成"
//        5, "已取消"
    STATE_ALL("", "全部"),
    STATE_PENDING_HANDLER("0", "待处理"),
    STATE_HAS_DISPATCH("1", "已分配"),
    STATE_HAS_RECEIVED("2", "已接单"),
    STATE_HAS_CONFIRMED("3", "已确认"),
    STATE_HAS_COMPLETED("4", "已完成"),
    STATE_HAS_CANCELED("5", "已取消");

    private String index;
    private String value;

//    public void CustomerStateType() {
//    }

    RepairStateType(String index, String value) {
        this.index = index;
        this.value = value;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
